import {Service} from "adajs";
import StudyList from "./../../../../controls/lists/study";

class LodgeService extends Service {
    defaultData() {
        return {
            list: {
                url: "/api/cms/cmsAd/queryPage",
                type: StudyList
            }
        }
    }

    onupdate(current, data) {
        Object.assign(current, data);
    }
}

export default LodgeService;